#!/bin/sh

export DYLD_FALLBACK_LIBRARY_PATH="/opt/local/lib"
export EXTRA_LIBS="-lstdc++"

./configure --prefix=/opt/local/apache2 \
	--with-config-file-path=/opt/local/apache2/conf \
	--with-apxs2=/opt/local/apache2/bin/apxs \
	--enable-pcntl \
        --disable-ipv6 \
        --with-libxml-dir=/opt/local \
        --with-openssl \
        --with-pcre-regex \
        --with-zlib \
        --with-curl \
        --enable-sockets \
	--enable-gd-native-ttf \
	--with-icu-dir=/opt/local \
        --with-gd \
	--with-iconv=/opt/local \
        --with-jpeg-dir=/opt/local \
        --with-png-dir=/opt/local \
        --with-freetype-dir=/opt/local \
	--with-mcrypt=/opt/local \
        --enable-mbstring \
	--with-mysql=mysqlnd \
	--with-mysqli=mysqlnd \
	--with-pdo-mysql=mysqlnd \
        --with-pdo-sqlite \
        --enable-soap \
	--enable-pcntl \
        --enable-sysvmsg \
        --enable-sysvsem \
        --enable-sysvshm \
	--with-tidy \
	--with-pear \
        --enable-intl 

